Linux: file recovery (Urgent) [closed]
Posted
by Ashine
on Stack Overflow
See other posts from Stack Overflow
or by Ashine
Published on 2010-02-05T09:35:54Z
Indexed on
2010/04/14
1:23 UTC
Read the original article
Hit count: 425
Hi Firends, I desperately need some help regarding problem I am facing now. While creating a softlink for a very important file I gave the reverse command by mistake. Instead of giving it "ln target linkname" I have given it 'ln linkname target'. This has resulted in references pointing to target files are now pointing to links and the actual refernces to target files are lost. How can I recover the files back.
"/home/user/data1" was original file location. "/home/user/db2" was the desired softlink for this data.
I haveto give "ln data1 db2" but I have given 'ln db2 data1'.
This has resulted in 'data1' being now pointing towards 'db2' and the actual data in 'data1' can not be retrieved.
Some one please help.
Thanks in advance.
© Stack Overflow or respective owner